package 面向对象;

//定义一个学生类
public class Student {
    String name;
    int age;

    public void eat() {
        System.out.println("吃饭");
    }
}
